<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class SaleIntention extends BaseModel
{
    /**
     *  销售意向创建者
     */
    public function user(){
        return $this->belongsTo(User::class);
    }

    /**
     *  指派的用户
     */
    public function assignUser(){
        return $this->belongsTo(User::class,'assign_user_id');
    }
}
